//
//  HX_NewSongs.m
//  UI22-阿里星球（音乐）
//
//  Created by 韩旭 on 16/8/13.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "HX_NewSongs.h"
#import "UIImageView+WebCache.h"
#import "DataSmallModel.h"
@implementation HX_NewSongs
- (void)setArrDatas:(NSMutableArray *)arrDatas {
    _arrDatas = arrDatas;
    NSString *stringPicurl = [[_arrDatas objectAtIndex:0] picUrl];
    [self.imageNewsSongs sd_setImageWithURL:[NSURL URLWithString:stringPicurl] placeholderImage:[UIImage new]];
    NSString *stringPicurl1 = [[_arrDatas objectAtIndex:1] picUrl];
    [self.imageNewsSongs1 sd_setImageWithURL:[NSURL URLWithString:stringPicurl1] placeholderImage:[UIImage new]];
    
    NSString *stringPicurl2 = [[_arrDatas objectAtIndex:2] picUrl];
    [self.imageNewsSongs2 sd_setImageWithURL:[NSURL URLWithString:stringPicurl2] placeholderImage:[UIImage new]];
    
    self.lableDesc.text = [[_arrDatas objectAtIndex:0] desc];
    self.lableDesc.textColor = [UIColor colorWithWhite:0.820 alpha:1.000];
    self.lableDesc1.text = [[_arrDatas objectAtIndex:1] desc];
     self.lableDesc1.textColor = [UIColor colorWithWhite:0.820 alpha:1.000];
    self.lableDesc2.text = [[_arrDatas objectAtIndex:2] desc];
     self.lableDesc2.textColor = [UIColor colorWithWhite:0.820 alpha:1.000];
    
    self.lableName.text = [[_arrDatas objectAtIndex:0] name];
    self.lableName.textColor = [UIColor whiteColor];
    self.lableName1.text = [[_arrDatas objectAtIndex:1] name];
    self.lableName1.textColor = [UIColor whiteColor];
    self.lableName2.text = [[_arrDatas objectAtIndex:2] name];
    self.lableName2.textColor = [UIColor whiteColor];
}

@end
